package com.xw.model;

import java.util.Date;
import javax.persistence.*;

@Table(name = "play_record")
public class PlayRecord {
    @Id
    private String id;

    /**
     * 视频id
     */
    @Column(name = "videos_id")
    private String videosId;

    /**
     * 百分比
     */
    private Integer percent;

    /**
     * 用户id
     */
    @Column(name = "user_id")
    private String userId;

    @Column(name = "create_time")
    private Date createTime;

    /**
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取视频id
     *
     * @return videos_id - 视频id
     */
    public String getVideosId() {
        return videosId;
    }

    /**
     * 设置视频id
     *
     * @param videosId 视频id
     */
    public void setVideosId(String videosId) {
        this.videosId = videosId;
    }

    /**
     * 获取百分比
     *
     * @return percent - 百分比
     */
    public Integer getPercent() {
        return percent;
    }

    /**
     * 设置百分比
     *
     * @param percent 百分比
     */
    public void setPercent(Integer percent) {
        this.percent = percent;
    }

    /**
     * 获取用户id
     *
     * @return user_id - 用户id
     */
    public String getUserId() {
        return userId;
    }

    /**
     * 设置用户id
     *
     * @param userId 用户id
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}